
#ifndef __LED_H_
#define __LED_H_

#include "bsp.h"

#define  RED   1
#define  GREEN 2
#define  BLUE  3
#define  OFF   4


struct LED_STRUCTURE
{
	uint8_t led_num;
	uint8_t led_status;
	uint8_t key_cloud;
};

void LED_Init(void);
void TM1627_Write(uint8_t date);
void LED_Control(uint8_t num,uint8_t color);
void LED_OFF_All(void);
void LED_StartSucceed(void);

void xQueueLedStatus(uint8_t lednum,uint8_t color,uint8_t key_mode,uint8_t key_cloud);

#endif
